<template>
	<view class="cus-title">
		<image :src="`/static/images/${titleType}.png`" class="cus-title-img"></image>
		<view class="cus-title-name">
			<slot></slot>
		</view>
	</view>
</template>

<script>
	export default {
		name:"cusTitle",
		props:{
			titleType:{
				type: String,
				default: "0"
			}
		},
		data(){
			return{
			
			}
		},
		mounted(){},
		methods:{}
	}
</script>

<style lang="scss">
.cus-title{
	position: relative;
	.cus-title-img{
		width: 104rpx;
		height: 40rpx;
	}
	.cus-title-name{
		font-size: 34rpx;
		font-weight: bold;
		position: absolute;
		z-index: 1;
		top: 0;
		left: 0;
	}
}
</style>